package ch7.rand;

import java.util.*;

public class RandomGenerator {
	private Random rand = new Random(47);
	
	public Object next(Object[] obj){
		return obj[rand.nextInt(obj.length)];
		}
	}
